package br.com.passeionaweb.appengine.tabelafipe.data;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable
public class Price {
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Long _id;
	@Persistent
	private String price;

	@Persistent
	private Long versionid;

	public Price(String price, Long versionid) {
		super();
		this.price = price;
		this.versionid = versionid;
	}

	public Long getId() {
		return _id;
	}

	public String getPrice() {
		return price;
	}

	public Long getVersionid() {
		return versionid;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public void setVersionid(Long versionid) {
		this.versionid = versionid;
	}
}
